package com.plan.dao.mapper.card;

import com.plan.controller.card.request.PointProductPageListReq;
import com.plan.controller.card.response.PointProductListRes;
import com.plan.entity.card.PointProduct;

import java.util.List;

public interface PointProductMapper {

    int insert(PointProduct p);

    int update(PointProduct p);

    PointProduct getOneById(Long teamId, Long productId);


    List<PointProductListRes> getPageList(PointProductPageListReq req);


    int delete(Long teamId, Long id);
}
